<?php
return [
    //数据验证错误信息  
    ':attribute cannot be an empty string'                      => '请您输入:attribute',  
    ':attribute must be positive integer'                       => ':attribute必须是大于等于0的整数',
    ':attribute must be id list'                                => ':attribute必须是id数组或者以英文逗号分隔的id字符串',
    ':attribute must be money number'                           => ':attribute必须是正确的金额数字',
    ':attribute must greater than :rule'                        => ':attribute必须大于 :rule',
    ':attribute must less than :rule'                           => ':attribute必须小于 :rule',
    ':attribute not a valid username'                           => ':attribute只能字母开头，且只可包含字母、数字、下划线（_），长度5-20位',
    ':attribute not a valid password'                           => ':attribute必须包含大写字母、小写字母、数字，长度8-20位',
    ':attribute not a valid wechat appid'                       => ':attribute格式错误',
    ':attribute not a valid wechat appsecret'                   => ':attribute格式错误',
    ':attribute not a valid full mobile number'                 => ':attribute格式错误',
    //输入验证字段别名
    'FIELD_admin_Index_login_account' => '账号信息',
    'FIELD_admin_Index_login_admin_username' => '账号',
    'FIELD_admin_Index_login_admin_password' => '密码',
    'FIELD_admin_Index_login_captcha' => '验证码',
    'FIELD_admin_Index_authLogin_auth_token' => '授权标识',
    'FIELD_admin_Admin_modifyPassword_old_password' => '旧密码',
    'FIELD_admin_Admin_modifyPassword_new_password' => '新密码',
    'FIELD_admin_Admin_saveInfo_avatar' => '头像',
    'FIELD_admin_Admin_saveInfo_nickname' => '昵称',
    'FIELD_admin_Admin_saveInfo_mobile' => '手机号',
    'FIELD_admin_Admin_saveInfo_email' => '邮箱',
    'FIELD_admin_Setting_saveBase_site_name' => '网站名称',
    'FIELD_admin_Setting_saveBase_site_logo' => '网站LOGO',
    'FIELD_admin_Setting_saveBase_site_icon' => '浏览器图标',
    'FIELD_admin_Setting_saveBase_site_beian' => '备案号',
    'FIELD_admin_Setting_saveBase_site_copyright' => '版权信息',
    'FIELD_admin_Setting_saveBase_site_script' => '统计脚本',
    'FIELD_admin_Setting_saveWechat_wechat_appid' => 'AppId',
    'FIELD_admin_Setting_saveWechat_wechat_appsecret' => 'AppSecret',
    'FIELD_admin_Setting_saveWechat_wechat_aeskey' => 'AesKey',
    'FIELD_admin_Setting_saveWechatPay_wechatpay_mchid' => 'MCH_ID',
    'FIELD_admin_Setting_saveWechatPay_wechatpay_mchkey' => 'MCH_KEY',
    'FIELD_admin_Setting_saveWechatPay_wechatpay_mchcert' => '接口证书',
    'FIELD_admin_Setting_saveMiniProgram_miniprogram_appid' => 'AppId',
    'FIELD_admin_Setting_saveMiniProgram_miniprogram_appsecret' => 'AppSecret',
    'FIELD_wechat_Admin_apply_username' => '登录用户名',
    'FIELD_wechat_Admin_apply_password' => '登录密码',
    'FIELD_wechat_Admin_getAuthInfo_uuid' => '登录端标识',
    'FIELD_wechat_Admin_confirmAuth_uuid' => '登录端标识',
    'FIELD_command_ServerWinform_passLogin_username' => '账号',
    'FIELD_command_ServerWinform_passLogin_password' => '密码',
    //自带服务端逻辑错误：client响应
    'ERROR_CLIENT_RESP_10000'     => '参数解析错误',
    'ERROR_CLIENT_RESP_10001'     => '缺少参数：reqid',
    'ERROR_CLIENT_RESP_10002'     => '缺少参数：action',
    'ERROR_CLIENT_RESP_10003'     => '请求未授权',
    'ERROR_CLIENT_RESP_10004'     => 'action未匹配',
    //业务逻辑错误信息
    //1、不要复用错误码，即同一错误码在项目中不要出现两次，方便定位错误
    //2、尽量用户友好
    'ERROR_1'      => '系统异常，请稍后再试', //默认错误
    'ERROR_2'      => '参数校验失败，请检查输入', //输入校验错误，返回时，错误信息由实际的错误原因覆盖
    'ERROR_3'      => '权限校验失败，请重新登录',  //WEB端权限校验（过期）
    'ERROR_4'      => '权限校验失败，请重新授权', //微信端权限校验（过期）
    'ERROR_5'      => '权限校验失败，请刷新授权', //小程序端权限校验（过期）
    'ERROR_6'      => '',
    'ERROR_7'      => '', 
    'ERROR_8'      => '验证码错误，请重新输入', //
    'ERROR_9'      => '版本过低，请升级', //
    'ERROR_10'     => '请求参数为空', //
    'ERROR_11'     => '签名验证失败', //
    'ERROR_12'     => '时间戳无效', //
    'ERROR_101'    => '账号信息解密失败',
    'ERROR_102'    => '账号信息解析失败',
    'ERROR_103'    => '账号信息解密失败',
    'ERROR_104'    => '旧密码验证失败，请确认旧密码输入正确',
    'ERROR_105'    => '微信授权跳转失败，缺少logic_url参数，请退出后重新授权',
    'ERROR_106'    => '微信授权回调失败，缺少state参数，请退出后重新授权',
    'ERROR_107'    => '微信授权回调失败，数据无法读取，请退出后重新授权',
    'ERROR_108'    => '二次授权回调失败，数据已失效，请退出后重新授权',
    'ERROR_109'    => '二次授权回调失败，缺少参数，请退出后重新授权',
    'ERROR_110'    => '申请已提交',
    'ERROR_111'    => '客户端连接不可访问',
    'ERROR_112'    => '客户端推送失败',
    'ERROR_113'    => 'location_href参数为空',
    'ERROR_114'    => 'location_href参数异常',
    'ERROR_115'    => '',
    'ERROR_116'    => '二维码已失效，请刷新二维码并重新扫码',
    'ERROR_117'    => '未绑定账号',
    'ERROR_118'    => '授权消息发送失败，请尝试刷新二维码后重试',
    'ERROR_119'    => '',
    'ERROR_120'    => '授权数据已失效',
    'ERROR_121'    => '目标客户端参数缺失',
    'ERROR_122'    => '授权用户不存在',
    'ERROR_123'    => '账号或密码错误',
];